package kr.hkit.powerjava.chapter07.Programming;

import java.util.Scanner;

public class PgMain {

	public static void main(String[] args) {
		
		Rectangle pg1 = new Rectangle(1.1, 2.5);
		System.out.println(pg1);
		
		Date pg2 = new Date(1989, 03, 18);
		pg2.print1();
		pg2.setDate(1992, 02, 11);
		pg2.print2();
		
		Movie pg4 = new Movie("Begin Again", "John Carney", 2014, 9.17);
		System.out.println(pg4);
		
		Reverse pg5 = new Reverse("가나다라마바사");
		System.out.println(pg5);		
		
		ConsVowel pg6 = new ConsVowel("abbcd");
		System.out.println(pg6);
		
		CheckId pg7 = new CheckId("hahaha");
		Scanner input =  new Scanner(System.in);
		System.out.print("아이디를 입력하시오: ");
		String id = input.next();
		pg7.setInputid(id);
		System.out.println(pg7);
		
	}
}
